﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.Tools.INSVideoTool
{
    public partial class HideWindow
    {
        public List<string> VideoParamList = new List<string>();
        public List<IntPtr> ClosingList = new List<IntPtr>();

        public string GetNextVideoParam()
        {
            if (VideoParamList.Count > 0)
            {
                return VideoParamList[0];
            }
            return string.Empty;
        }

        public void RemoveVideoParam(string param)
        {
            if (VideoParamList.Contains(param))
            {
                VideoParamList.Remove(param);
            }
        }

        public IntPtr GetNextClosingVideo()
        {
            if (ClosingList.Count > 0)
            {
                return ClosingList[0];
            }
            return IntPtr.Zero;
        }
        public void RemoveClosingVideo(IntPtr param)
        {
            if (ClosingList.Contains(param))
            {
                ClosingList.Remove(param);
            }
        }
    }
}
